package com.wx.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wx.entity.WxMassAndSendResult;
import com.wx.entity.WxMassMessage;
import com.wx.entity.WxMassMessageExample;

public interface WxMassMessageService {
	public int insert(WxMassMessage wxMassMessage);

	public List<WxMassMessage> selectByExample(WxMassMessageExample example);

	public WxMassMessage selectByPrimaryKey(Integer id);

	public int countByExample(WxMassMessageExample example);

	public int updateByExample(@Param("record") WxMassMessage record,@Param("example") WxMassMessageExample example);

	public int updateByPrimaryKey(@Param("record") WxMassMessage record);
	
	public int deleteByPrimaryKey(Integer id);

	public int deleteByPrimaryKey(WxMassMessageExample example);
	
	public List<WxMassAndSendResult> selectMassAndResultByExample(Map<String, Object> params);

	public  List<WxMassAndSendResult>  selectMassAndResultByTagId(Map<String, Object> params);
}
